﻿using System.ComponentModel.Composition;
using System.Web.Mvc;

namespace Mefisto4.PocModule.Controllers
{
    [Export]
    [PartCreationPolicy(CreationPolicy.NonShared)]
    public class TestController : Controller
    {
        public ActionResult Index()
        {
            ViewBag.Message = "TestController/IndexView - COntroller+View, ça marche !!!";
            return View();
        }

        public string About()
        {
            return "TestController/AboutView - Controller uniquement, ça marche !!!";
        }
    }
}